package com.picket.service;

import java.util.Collection;
import java.util.List;

import com.picket.domain.Match;
import com.picket.domain.UserPrediction;

public interface IUserPredictionService {
	void create(final List<UserPrediction> userPredictions);
	Collection<UserPrediction> getAllUserPredictions(); 
	//Collection<UserPrediction> getAllUserPredictionsForEvent(long eventId); 
	UserPrediction getUserPrediction(long id);
	Collection<UserPrediction> getAllUserPredictionsForUserPool(long userPoolId); 
	Collection<UserPrediction> getAllUserPredictionsForUserPoolOrderedByMatchNo(long userPoolId); 
	
	public Collection<UserPrediction> updatePredictions(List<String> userPredictions, long userPoolId)  throws Exception;
	public void updatePredictionsWithPoints(Match match);
	public Collection<UserPrediction> getAllUserPredictionsForMatrix(long matchId);
}
